﻿using System;
using System.Collections.Generic;
using System.Text;

namespace nunit_demo
{
    public class MyObjectDemo
    {
        public int id;

        public String name;

        public MyObjectDemo(int id, string name)
        {
            this.id = id;
            this.name = name;
        }

        public override string ToString()
        {
            return $"[id: {id}, name: {name}]";
        }

        public void SayHello()
        {
            Console.WriteLine("hello world");
        }

    }

    /// <summary>
    /// 为了测试修改csproj文件中的项目启动入口文件而专门加上的测试代码
    /// </summary>
    class Application
    {

        static void Main(string[] args)
        {
            Console.WriteLine("hello , Im MyObjectDemo!");
        }

    }
   
}
